#include <ros/ros.h>
#include <OctomapGen.h>

using namespace octomap_gen;

int main(int argc, char** argv)
{
  ros::init(argc, argv, "octomap_node");

  OctomapGen octomap_gen;

  try
  {
    ros::spin();
  }
  catch(std::runtime_error& e)
  {
    ROS_ERROR("octomap_server exception: %s", e.what());
    return -1;
  }

  return 0;
}
